package cn.hct.springboot_pro.service;

import cn.hct.springboot_pro.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    User getUserByUnameAndPsw(String user_name, String password);

    int insertUser(String user_name,String phone, String password);

    User getUserByUname(String user_name);

    User getUserById(int user_id);

    int updateUser(User user);

    List<User> getUserByMan(int manager);

    int deleteUserById(int user_id);
}
